package com.duobaoyu.dby.supply.biz.client.resource.bean.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Desc:
 *
 * @Author kong yu hui
 * @Date 2023-04-28 16:05
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("任务导入列表接口响应vo")
public class TaskExportVO implements Serializable {

	private static final long serialVersionUID = -3702569992767933239L;

	@ApiModelProperty(value = "导出数据id")
	private Long id;

	@ApiModelProperty(value = "业务类型枚举")
	private Integer bizType;

	@ApiModelProperty(value = "业务类型字符串描述")
	private String bizTypeStr;

	@ApiModelProperty(value = "导出数据类型")
	private Integer dataType;

	@ApiModelProperty(value = "导出数据类型字符串描述")
	private String dataTypeStr;

	@ApiModelProperty(value = "导出数据条件")
	private String reqParam;

	@ApiModelProperty(value = "文件名称")
	private String fileName;

	@ApiModelProperty(value = "导出文件的url")
	private String fileUrl;

	@ApiModelProperty(value = "导出状态 0:待导出 1:导出中 2:导出完成 3:导出失败")
	private Integer status;

	@ApiModelProperty(value = "导出失败原因")
	private String reason;

	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;

	@ApiModelProperty(value = "更新时间")
	private LocalDateTime updateTime;
}
